/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package LogicaClasesNew;

import Logica.exceptions.NonexistentEntityException;
import Logica.exceptions.PreexistingEntityException;
import java.util.List;

/**
 *
 * @author Usuario
 */
public interface IcontroladorProveedor {
            public abstract void createProveedor(String Compania, String Web, String Nickname, String Nombre, String Apellido, String FechNacim, String password, String Mail) throws PreexistingEntityException, Exception;    
            public abstract void createProveedor2(String Compania, String Web, String Nickname, String Nombre, String Apellido, String FechNacim, String password, String Mail, byte[] Foto) throws PreexistingEntityException, Exception;    
            public abstract Proveedor findProveedor(String Nickname);
            public abstract void addProductoProveedor(int numRefProd, String Nickname) throws NonexistentEntityException, Exception;
            public abstract List<Proveedor> findProveedorEntities();
            public abstract List<Producto> getListadoProductosXproveedor(String Nickname);
            public abstract void RemoveProductoProveedor(int numRefProd, String Nickname);
}
